package com.mytijian.task.enums;

public enum  SubTaskStatusEnum {
    un_begin(0,"未开始"),
    process_success(2, "执行成功"),
    process_fail(3, "执行失败"),
    ;
    private int code;
    private String desc;

    SubTaskStatusEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
